package com.cetc39.bean;



import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.springframework.context.annotation.Lazy;

@Entity
@Table(name="t_plan_one")
public class FirstPlan {
	private int id;
	private Project project;
	private String plan_id;
	private Date plan_setstart;
	private Date plan_setfinish;
	private Date plan_lastedit;
	private Date plan_issue;
	private String plan_version;
	private int plan_release;
	
	
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@ManyToOne
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	
	public String getPlan_id() {
		return plan_id;
	}
	public void setPlan_id(String plan_id) {
		this.plan_id = plan_id;
	}
	public Date getPlan_setstart() {
		return plan_setstart;
	}
	public void setPlan_setstart(Date plan_setstart) {
		this.plan_setstart = plan_setstart;
	}
	public Date getPlan_setfinish() {
		return plan_setfinish;
	}
	public void setPlan_setfinish(Date plan_setfinish) {
		this.plan_setfinish = plan_setfinish;
	}
	public Date getPlan_lastedit() {
		return plan_lastedit;
	}
	public void setPlan_lastedit(Date plan_lastedit) {
		this.plan_lastedit = plan_lastedit;
	}
	public Date getPlan_issue() {
		return plan_issue;
	}
	public void setPlan_issue(Date plan_issue) {
		this.plan_issue = plan_issue;
	}
	public String getPlan_version() {
		return plan_version;
	}
	public void setPlan_version(String plan_version) {
		this.plan_version = plan_version;
	}
	public int getPlan_release() {
		return plan_release;
	}
	public void setPlan_release(int plan_release) {
		this.plan_release = plan_release;
	}
	
	
	
}
